package com.loveprogrammer.eternity.factory;

import com.loveprogrammer.eternity.factory.template.EquipmentTemplate;
import com.loveprogrammer.eternity.model.product.Equipment;
import com.loveprogrammer.eternity.model.product.Goods;

import java.util.ArrayList;
import java.util.List;

/**
 * @version 1.0.0
 * @description: 商店工厂类
 * @author: eric
 * @date: 2022-09-05 17:10
 **/
public class StoreFactory {

    public static List<Goods> getSaleGoods(){
        // 所有装备的模板
        List<Equipment> equipments = EquipmentFactory.getRandomList(10);
        return new ArrayList<>(equipments);
    }
}
